Bonjour à tous ,
je vous présente aujourd'hui mon second NoMod qui ajoute des sac à dos dans notre jeu préféré.
-Le système est compatible multijoueurs jusqu'à 16 joueurs (pour passer outre la limite , allez plus bas)
-C'est totalement vanilla
-Disponible uniquement en 1.9
-Il utilise mon premier NoMod pour crafter le sac à dos
Installation :
1) prenez un commande bloc : /give @p minecraft:command_block
2) copiez la commande suivante
3) mettez le commande bloc sur "Always active"
4)Profitez ! ^^
En vidéo :
Rajouter des joueurs :
Pour rajouter des joueurs , il suffit de faire une chaîne de commandes blocs et d'y copier la commande suivante :
/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=[B]X[/B],score_bp_number=X] @e[tag=bph,score_bp_number_min=[COLOR=#ff0000]X[/COLOR],score_bp_number=X]
Il faut juste modifier les X par le numéro du joueur, ce numéro correspond à l'ordre d’acquisition d'un backpack (ex: le premier joueur qui craft un backpack aura le n°1).
Voilà pour se NoMod , un texture pack est fourni pour donner une belle texture au sac à dos :
Si vous voulez utiliser ce NoMod dans une vidéo , partagez au minimum le lien de ce topic.
Pour toutes demandes , les commentaires sont là pour ça.
Bonne journée,
Frodomax.
je vous présente aujourd'hui mon second NoMod qui ajoute des sac à dos dans notre jeu préféré.
-Le système est compatible multijoueurs jusqu'à 16 joueurs (pour passer outre la limite , allez plus bas)
-C'est totalement vanilla
-Disponible uniquement en 1.9
-Il utilise mon premier NoMod pour crafter le sac à dos
Installation :
1) prenez un commande bloc : /give @p minecraft:command_block
2) copiez la commande suivante
summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:"fill ~2 ~-3 ~-2 ~16 ~-1 ~2 stained_hardened_clay 9 hollow"},{id:MinecartCommandBlock,Command:"fill ~2 ~-2 ~-2 ~16 ~-2 ~2 stained_glass 7 replace stained_hardened_clay"},{id:MinecartCommandBlock,Command:"/tellraw @a [\"\",{\"text\":\"Sac à dos par \",\"color\":\"dark_aqua\"},{\"text\":\"Frodomax33\",\"color\":\"green\"},{\"text\":\" [Ma chaîne]\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://www.youtube.com/channel/UC4V7qyiLxYB5Kor3rZqvXUA\"}}]"},{id:MinecartCommandBlock,Command:"/summon ArmorStand ~2 ~ ~ {Invisible:1,Invulnerable:1,CustomName:\"bp_center\",CustomNameVisible:1,NoGravity:1}"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add use_bpc stat.useItem.minecraft.command_block_minecart"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add bp_number dummy"},{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 replace {Text2:"{\\"text\\":\\"Détruire\\",\\"color\\":\\"dark_red\\",\\"bold\\":true}",Text3:"{\\"text\\":\\"la machine\\",\\"color\\":\\"dark_red\\",\\"bold\\":true}",Text4:"{\\"text\\":\\"\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"fill ~ ~-1 ~-2 ~15 ~1 ~2 air\\"}}"}},{id:MinecartCommandBlock,Command:setblock ~11 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=16,score_bp_number=16] @e[tag=bph,score_bp_number_min=16,score_bp_number=16]"}},{id:MinecartCommandBlock,Command:setblock ~10 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=15,score_bp_number=15] @e[tag=bph,score_bp_number_min=15,score_bp_number=15]"}},{id:MinecartCommandBlock,Command:setblock ~9 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=14,score_bp_number=14] @e[tag=bph,score_bp_number_min=14,score_bp_number=14]"}},{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=13,score_bp_number=13] @e[tag=bph,score_bp_number_min=13,score_bp_number=13]"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=12,score_bp_number=12] @e[tag=bph,score_bp_number_min=12,score_bp_number=12]"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=11,score_bp_number=11] @e[tag=bph,score_bp_number_min=11,score_bp_number=11]"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=10,score_bp_number=10] @e[tag=bph,score_bp_number_min=10,score_bp_number=10]"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=9,score_bp_number=9] @e[tag=bph,score_bp_number_min=9,score_bp_number=9]"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=8,score_bp_number=8] @e[tag=bph,score_bp_number_min=8,score_bp_number=8]"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ chain_command_block 3 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=7,score_bp_number=7] @e[tag=bph,score_bp_number_min=7,score_bp_number=7]"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=6,score_bp_number=6] @e[tag=bph,score_bp_number_min=6,score_bp_number=6]"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=5,score_bp_number=5] @e[tag=bph,score_bp_number_min=5,score_bp_number=5]"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=4,score_bp_number=4] @e[tag=bph,score_bp_number_min=4,score_bp_number=4]"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=3,score_bp_number=3] @e[tag=bph,score_bp_number_min=3,score_bp_number=3]"}},{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=2,score_bp_number=2] @e[tag=bph,score_bp_number_min=2,score_bp_number=2]"}},{id:MinecartCommandBlock,Command:setblock ~9 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=1,score_bp_number=1] @e[tag=bph,score_bp_number_min=1,score_bp_number=1]"}},{id:MinecartCommandBlock,Command:setblock ~10 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players tag @a[tag=bp] add bph {SelectedItem:{Count:1b,id:minecraft:command_block_minecart,tag:{display:{Name:\\"BackPack\\"}}}}"}},{id:MinecartCommandBlock,Command:setblock ~11 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players tag @a[tag=bph] remove bph "}},{id:MinecartCommandBlock,Command:setblock ~12 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @a[tag=!bph] ~ ~ ~ /tp @e[tag=bpr] @e[name=bp_center]"}},{id:MinecartCommandBlock,Command:setblock ~13 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/kill @e[name=craftingbp,type=ArmorStand]"}},{id:MinecartCommandBlock,Command:setblock ~14 ~-2 ~ chain_command_block 12 replace {auto:1,Command:"/execute @e[name=craftingbp,type=ArmorStand] ~ ~ ~ /blockdata ~ ~ ~ {Items:[{id:minecraft:command_block_minecart,Count:1b,Slot:4b,tag:{display:{Name:\\"BackPack\\"}}}]}"}},{id:MinecartCommandBlock,Command:setblock ~15 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[name=craftingbp,type=ArmorStand] ~ ~ ~ /testforblock ~ ~ ~ minecraft:dispenser 1 {Items:[{id:minecraft:leather,Count:1b,Slot:0b},{id:minecraft:leather,Count:1b,Slot:1b},{id:minecraft:string,Count:1b,Slot:2b},{id:minecraft:leather,Count:1b,Slot:3b},{id:minecraft:ender_pearl,Count:1b,Slot:4b},{id:minecraft:string,Count:1b,Slot:5b},{id:minecraft:leather,Count:1b,Slot:6b},{id:minecraft:chest,Count:1b,Slot:7b},{id:minecraft:string,Count:1b,Slot:8b}]}"}},{id:MinecartCommandBlock,Command:setblock ~15 ~-2 ~-1 chain_command_block 3 replace {auto:1,Command:"/execute @r[name=craft,type=ArmorStand] ~ ~ ~ /summon ArmorStand ~ ~1 ~ {CustomName:\\"craftingbp\\",NoGravity:1,Invulnerable:1,Invisible:1}"}},{id:MinecartCommandBlock,Command:setblock ~14 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/kill @e[name=BackPack]"}},{id:MinecartCommandBlock,Command:setblock ~13 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/scoreboard players set @a[score_use_bpc_min=1] use_bpc 0"}},{id:MinecartCommandBlock,Command:setblock ~12 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/give @a[score_use_bpc_min=1] minecraft:command_block_minecart 1 0 {display:{Name:\\"BackPack\\"}}"}},{id:MinecartCommandBlock,Command:setblock ~11 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/scoreboard players tag @a[tag=bp_last] remove bp_last"}},{id:MinecartCommandBlock,Command:setblock ~10 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/scoreboard players tag @a[tag=bp_last] add bp"}},{id:MinecartCommandBlock,Command:setblock ~9 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/entitydata @e[tag=bpm] {Tags:[\\"bpr\\"]}"}},{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/scoreboard players operation @e[tag=bpm] bp_number > * bp_number "}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/execute @e[name=bp_center,type=ArmorStand] ~ ~ ~ /summon MinecartChest ~ ~ ~ {CustomName:Backpack,Invulnerable:1,Tags:[\\"bpm\\"]}"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/scoreboard players add @a[tag=bp_last] bp_number 1"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/scoreboard players operation @a[tag=bp_last] bp_number > * bp_number"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/scoreboard players set @a[tag=bp_last] bp_number 0"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~-1 repeating_command_block 5 replace {auto:1,Command:"/scoreboard players tag @a[tag=!bp] add bp_last {SelectedItem:{Count:1b,id:minecraft:command_block_minecart,tag:{display:{Name:\\"BackPack\\"}}}}"}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}
4)Profitez ! ^^
En vidéo :
Rajouter des joueurs :
Pour rajouter des joueurs , il suffit de faire une chaîne de commandes blocs et d'y copier la commande suivante :
/execute @a[tag=bph] ~ ~ ~ /tp @e[tag=bpr,score_bp_number_min=[B]X[/B],score_bp_number=X] @e[tag=bph,score_bp_number_min=[COLOR=#ff0000]X[/COLOR],score_bp_number=X]
Il faut juste modifier les X par le numéro du joueur, ce numéro correspond à l'ordre d’acquisition d'un backpack (ex: le premier joueur qui craft un backpack aura le n°1).
Voilà pour se NoMod , un texture pack est fourni pour donner une belle texture au sac à dos :
Si vous voulez utiliser ce NoMod dans une vidéo , partagez au minimum le lien de ce topic.
Pour toutes demandes , les commentaires sont là pour ça.
Bonne journée,
Frodomax.
Dernière édition: